package com.showtao.front.dto.upstream;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

@SuppressWarnings("serial")
public class VehicleModelSavingDto implements Serializable {

    private Long id;
    @NotNull
    private Long lineId;
    @NotBlank
    private String name;
    private String isHatchback;
    private List<VehicleModelFeatureSavingDto> features;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
	public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    public List<VehicleModelFeatureSavingDto> getFeatures() {
        return features;
    }

    public void setFeatures(List<VehicleModelFeatureSavingDto> features) {
        this.features = features;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

	public String getIsHatchback() {
		return isHatchback;
	}

	public void setIsHatchback(String isHatchback) {
		this.isHatchback = isHatchback;
	}
}
